<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      >
   <h:head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>TODO supply a title</title>
   </h:head>
   <h:body>
      <f:view>
         <h:form>
            <h:dataTable value="#{login.users}" var="item">

               <h:column>
                  <f:facet name="header">
                     <h:outputText value="Id"/>
                  </f:facet>
                  <h:outputText value="#{item.id}"/>
               </h:column>

               <h:column>
                  <f:facet name="header">
                     <h:outputText value="Usrname"/>
                  </f:facet>
                  <h:outputText value="#{item.usrname}"/>
               </h:column>

               <h:column>
                  <f:facet name="header">
                     <h:outputText value="Usrpass"/>
                  </f:facet>
                  <h:outputText value="#{item.usrpass}"/>
               </h:column>

            </h:dataTable>
         </h:form>
      </f:view>

   </h:body>
</html>